﻿@*Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See full license in the root of the repo.*@

@{
    ViewBag.Title = "Authorize";
}

@section scripts {
    <script>
        Office.initialize = function (reason) {
            $(document).ready(function () {
                console.log("Redirecting to the final pop-up url: @ViewBag.redirectUrl");
                document.location.href = '@ViewBag.redirectUrl';
            });
        }
    </script>
}
